//
//  NSURLConnectionWithAES128.h
//  AES256
//
//  Created by 杨潇 on 14-4-17.
//
//

#import <Foundation/Foundation.h>
#import "NSData+AES.h"
#import "NSData+Base64.h"
#import "NSString+Base64.h"

@class NSDictionary;
typedef void (^DataBlock) (NSDictionary * dic);
@interface NSURLConnection (AES128)<NSURLConnectionDataDelegate,NSURLConnectionDelegate>

+ (id)sendRequestWithHeadStr:(NSString *)head headValue:(NSString *)headValue serviceToken:(NSString *)serviceToken text:(NSDictionary *)textDic dataBlock:(DataBlock)block;
@end
